package edu.lingnan.librarymanage.service;

import edu.lingnan.librarymanage.core.dto.LoginUserDTO;
import edu.lingnan.librarymanage.core.dto.RegisterDTO;
import edu.lingnan.librarymanage.core.vo.LoginUserVO;

/**
 * @author cql
 */
public interface UserService {

    /**
     * 登录
     *
     * @param user
     * @return
     */
    LoginUserVO login(LoginUserDTO user);

    /**
     * 注册
     *
     * @param registerDto
     * @return
     */
    LoginUserVO register(RegisterDTO registerDto);
}
